<extend file="resource/view/home">
<block name="content">
<!--	子类继承开始-->
	<!--轮播开始-->
	<div class="Carousel">
		<ul class="run">
			<a href=""><li style=" background: url({{__ROOT__}}/resource/home/images/run1.png) no-repeat 50% 0px;"></li></a>
			<a href=""><li  style=" background: url({{__ROOT__}}/resource/home/images/run2.png) no-repeat 50% 0px;"></li></a>
			<a href=""><li style=" background: url({{__ROOT__}}/resource/home/images/run3.jpg) no-repeat 50% 0px;"></li></a>
			<a href=""><li style=" background: url({{__ROOT__}}/resource/home/images/run4.png) no-repeat 50% 0px;"></li></a>
			<a href=""><li style=" background: url({{__ROOT__}}/resource/home/images/run5.png) no-repeat 50% 0px;"></li></a>
			<a href=""><li style=" background: url({{__ROOT__}}/resource/home/images/run6.png) no-repeat 50% 0px;"></li></a>
			<a href=""><li style=" background: url({{__ROOT__}}/resource/home/images/run7.png) no-repeat 50% 0px;"></li></a>
			<a href=""><li style=" background: url({{__ROOT__}}/resource/home/images/run1.png) no-repeat 50% 0px;"></li></a>
		</ul>
		<div class="focal">
			<span class="color">1</span>
			<span>2</span>
			<span>3</span>
			<span>4</span>
			<span>5</span>
			<span>6</span>
			<span>7</span>
		</div>
	</div>
	<!--轮播结束-->
<!--	热销商品-->
	<div class="hotSale">
		<!--左侧开始/-->
		<div class="hotSale_left">
			<ul>
				<foreach from="$hotGoods" value="$v">
					<li>
						<div class="img">
							<a href="{{u('show.index',['gid'=>$v['gid']])}}" target="_blank">
								<img style="width: 156px;height:178px;" src="{{$v['pic']}}" alt="" />
							</a>

						</div>
						<div class="text">
							<h3>
								<a  href="{{u('show.index',['gid'=>$v['gid']])}}" target="_blank">{{$v['gname']}}</a>
							</h3>
							<p>

								<span>{{$v['describe']}}</span>
							</p>
							<p>
								<span>￥{{$v['shopprice']}}</span>
								<a target="_blank" href="{{u('show.index',['gid'=>$v['gid']])}}">立即抢购</a>
							</p>
						</div>
					</li>
				</foreach>
			</ul>
		</div>
		<!--左侧结束/-->
		<div class="hotSale_right">
			<div class="hotSale_right_top"><img src="{{__ROOT__}}/resource/home/images/hotSaleRight1.jpg"/></div>
			<div class="hotSale_right_btom">
				<ul class="notice">
					<li><img src="{{__ROOT__}}/resource/home/images/gonggao.png"/></li>
				</ul>
				<img src="{{__ROOT__}}/resource/home/images/hotSaleRight3jpg.jpg"/>
			</div>
		</div>

	</div>
	<!--r热卖结束-->
	<!--广告图片轮播开始-->
	<div class="advertisement">
		<ul class="advertisement_run">
			<li><img src="{{__ROOT__}}/resource/home/images/advertisement.jpg"/></li>
			<li><img src="{{__ROOT__}}/resource/home/images/advertisement5.jpg"/></li>
			<li><img src="{{__ROOT__}}/resource/home/images/advertisement2.jpg"/></li>
			<li><img src="{{__ROOT__}}/resource/home/images/advertisement3.jpg"/></li>
			<li><img src="{{__ROOT__}}/resource/home/images/advertisement4.jpg"/></li>
			<li><img src="{{__ROOT__}}/resource/home/images/advertisement.jpg"/></li>
		</ul>
		<div class="focal">
			<span class="color">1</span>
			<span>2</span>
			<span>3</span>
			<span>4</span>
			<span>5</span>
			<span>6</span>
			<span>7</span>
		</div>
	</div>
	<!--广告轮播结束-->
	<!--楼层 数据循环-->
	<foreach from="$floorData" key="$k" value="$v">

			<if value="$v['goods']">
		<div class="pone">
			<div class="pone_top">
				<h2 >
					<if value="$v['cname'] ==手机" >
					<a href="{{u('listPage.index',['cid'=>$v['cid']])}}" target="_blank"> 精品{{$v['cname']}}</a>
						<else>
							<a href="{{u('listPage.index',['cid'=>$v['cid']])}}" target="_blank">{{$v['cname']}}</a>
					</if>

				</h2>

				<ul class="pone_top_right">
					<foreach from="$v['_data']" value="$vv" >
						<li><a href="{{u('listPage.index',['cid'=>$vv['cid']])}}" target="_blank">{{$vv['cname']}}</a></li>
					</foreach>
				</ul>

			</div>
			<!--顶部结束content开始-->
			<div class="pone_content">
				<ul>
					<foreach from="$v['goods']" value="$vv">
					<li>
						<div class="pone_content_content">
							<div class="img">
								<a href="{{u('show.index',['gid'=>$vv['gid']])}}" target="_blank">

													<img  style="width: 170px;height:178px;" src="{{$vv['pic']}}" alt="" />
								</a>

							</div>
							<div class="text">
								<h3>
									<a href="{{u('show.index',['gid'=>$vv['gid']])}}" target="_blank">{{$vv['gname']}}</a>
								</h3>

								<a href="{{u('show.index',['gid'=>$vv['gid']])}}" target="_blank">
									<span>{{$vv['describe']}}</span>
								</a>
								<p>
									￥{{$vv['shopprice']}}

								</p>
							</div>
						</div>
					</li>
					</foreach>

				</ul>
			</div>
		</div>
				</if>

	</foreach>

	<!--楼层结束-->
	<div class="real_name">

			<img src="{{__ROOT__}}/resource/home/images/name.jpg"/>

	</div>
	<!--底部关注、开始-->
	<div class="footder">
		<div class="footder_left_img">


		</div>

	</div>
	<!--**************88888888888888888888子类继承结束8888888888888888*********-->


</block>
